const menuList = [
    {
        path: '/home',
        name: '首页',
        component: () => import('../views/Home.vue')
    },
    {
        path: '/onlineStudent',
        name: '课程',
        component: () => import('../views/onlineStudent/onlineStudent.vue'),
        children: [
            {
                path: '/onlineStudent/lesson',
                name: '课程详情',
                component: () => import('../views/onlineStudent/lesson/index.vue')
            }
        ]
    },
    {
        path: '/courses',
        name: '公开课',
        component: () => import('../views/courses/courses.vue')
    },
    {
        path: '/question',
        name: '题库',
        component: () => import('../views/question/question.vue'),
        children: [
            {
                path: '/question/questionExercise',
                name: '章节练习',
                component: () => import('../views/question/questionExercise/questionExercise.vue'),
            },
            {
                path: '/question/questionSetting',
                name: '做题设置',
                component: () => import('../views/question/questionExercise/questionSetting.vue'),
            },
            {
                path: '/question/topic/examTest',
                name: '开始做题',
                component: () => import('../views/question/topic/examTest.vue'),
            },
            {
                path: '/question/topic/analogTest',
                name: '模拟真题',
                component: () => import('../views/question/topic/analogTest.vue'),
            },
            {
                path: '/question/collectionQuestion',
                name: '收藏的题',
                component: () => import('../views/question/more/collectionQuestion.vue'),
            },
            {
                path: '/question/errorQuestion',
                name: '错题本',
                component: () => import('../views/question/more/errorQuestion.vue'),
            },
            {
                path: '/question/recordQuestion',
                name: '做题记录',
                component: () => import('../views/question/more/recordQuestion.vue'),
                children: [
                    {
                        path: '/question/recordQuestion/recordQuestionDetail',
                        name: '做题记录详情',
                        component: () => import('../views/question/more/recordQuestionDetail.vue'),
                    },
                ]
            },
        ]
    },
    {
        path: '/newsNotice',
        name: '新闻公告',
        component: () => import('../views/newsNotice/newsNotice.vue'),
        children: [
            {
                path: '/newsNotice/newsDetail',
                name: '新闻详情',
                component: () => import('../views/newsNotice/newsDetail.vue'),
            },
        ]
    },
    {
        path: '/teacher',
        name: '名师专题',
        component: () => import('../views/teacher/teacher.vue'),
        children: [
            {
                path: '/teacher/teacherDetail',
                name: '名师专区',
                component: () => import('../views/teacher/teacherDetail.vue'),
            },
        ]
    },

    {
        path: '/corporatePurchase',
        name: '对公购买',
        component: () => import('../views/corporatePurchase/corporatePurchase.vue')
    },
    {
        path: '/scanPay',
        name: '扫码支付',
        component: () => import('../views/scanPay/scanPay.vue')
    },
]
export default menuList;